consele.log('webpack')
// 以下为ES Moudule 模块引入方式
// 除此之外,webpack还能读懂其它引入方式,如CommonJS\CMD\AMD
// webpack模块打包工具
// import Header from './header.js'
// import Sidebar from './sidebar.js'
// import Content from './content.js'
// import avatar from './avatar.jpg'
// import style from './index.scss' //模块化引入css文件,modules: true,
import './index.scss' 
// import creatAvatar from './creatAvatar.js'

// creatAvatar();

// var img = new Image()
// img.src = avatar
// img.classList.add(style.avatar)

var root = document.getElementById('root')
// root.append(img)

root.innerHTML = '<div class="iconfont iconyouzhikehu"></div>'

// new Header();
// new Sidebar();
// new Content();

